<?php
require '../class/player.class.php';
require '../class/model/PlayerModel.class.php';

class PlayerController {
	public function addPlayer($name){
		$p1 = new Player($name);
		$pm = new PlayerModel();
		$pm->insert($p1);
	}
} 
?>